local paq_path = vim.fn.stdpath("data") .. "/site/pack/paqs/start/paq-nvim"

if not vim.uv.fs_stat(paq_path) then
    vim.fn.system({ "git", "clone", "--depth=1", "https://github.com/savq/paq-nvim", paq_path })
    vim.cmd.packadd("paq-nvim")
end

require("paq")({
    "savq/paq-nvim",
    "ellisonleao/gruvbox.nvim",
    "rebelot/kanagawa.nvim",
    "nvim-lualine/lualine.nvim",
    "lewis6991/gitsigns.nvim",
    "tpope/vim-fugitive",
    "lukas-reineke/indent-blankline.nvim",
    "brenoprata10/nvim-highlight-colors",
    "mfussenegger/nvim-lint",
    "stevearc/conform.nvim",
    "hrsh7th/nvim-cmp",
    "hrsh7th/cmp-buffer",
    "hrsh7th/cmp-calc",
    "hrsh7th/cmp-cmdline",
    "hrsh7th/cmp-nvim-lsp",
    "hrsh7th/cmp-nvim-lua",
    "hrsh7th/cmp-path",
    "neovim/nvim-lspconfig",
    "nvim-lua/plenary.nvim",
    "nvim-telescope/telescope.nvim",
    { "nvim-telescope/telescope-fzf-native.nvim", build = "make" },
    { "nvim-treesitter/nvim-treesitter", build = ":TSUpdate" },
})

pcall(vim.cmd.colorscheme, "kanagawa")

require("plugins.lualine")
require("plugins.treesitter")
require("plugins.gitsigns")
require("ibl").setup()
require("plugins.fugitive")
require("plugins.lint")
require("plugins.conform")
require("plugins.cmp")
require("plugins.lspconfig")
require("plugins.telescope")
require("nvim-highlight-colors").setup()
